/*
 * Singularity Engine
 * Copyright (C) 2010 Vyacheslav Vorobyov, All rights reserved.
 * See LICENSE for full license information.
 */

/**
 * 
 */
package org.singularity.mapred.model;

import org.singularity.io.Input;
import org.singularity.mapred.InputElement;

/**
 * 
 * @author vjache
 *
 * @param <VT>
 */
public class DefaultInputElement<VT> extends AbstractElement implements InputElement<VT> {

	private final Input<VT> _input;

	protected DefaultInputElement(DefaultCascade aCascade, Input<VT> aInput, Object aId) {
		super(aCascade, Code.Input,aId);
		_input = aInput;
	}

	@Override
	public Input<VT> getInput() {
		return _input;
	}
}
